<%-- 这是首页 --%>
<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'index.jsp' starting page</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css"
			href="/sell_food/bootstrap/css/default.css">
		<style type="text/css">
.content1 {
	width: 84%;
	height: 88%;
	position: relative;
	margin-left: 240px;
	margin-top: 6px;
	background-color: white;
	position: relative;
	margin-top: 6px;
}

.form-horizontal div div div div input {
	height: 30px;
}
</style>
	</head>
	<body>
		<jsp:include page="top.jsp"></jsp:include>
		<div class="content1"  >
			<!-- 商店列表 -->
			<div class="header">
				<h1 class="page-title">
					预览商店
				</h1>
			</div>

			<ul class="breadcrumb" style="height:36px;">
				<li>
					<a href="<%=basePath%>/adminView/index.jsp">主页</a>
					<span class="divider">/</span>
				</li>
				<li class="active">
					预览商店
				</li>
			</ul>

			<div class="container-fluid">
				<div class="row-fluid">
					<div class="page-header"></div>
					<form action="updStore?store.shopId=${store.shopId}" method="post" class="form-horizontal"
						enctype="multipart/form-data">
						<div class="row-fluid">
							<div class="span7">
								<div class="control-group">
									<label class="control-label" for="name">
										登 录 账 号
									</label>
									<div class="controls">
										<input readonly="true" name="store.loginName" class="input-xlarge focused"
											id="store.loginName" type="text" value="${store.loginName}" />
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="name">
										登 录 密 码
									</label>
									<div class="controls">
										<input readonly="true" name="store.loginPassword" class="input-xlarge focused"
											id="loginPassword" type="password" value="${store.loginPassword}" />
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="name">
										商 店 名
									</label>
									<div class="controls">
										<input readonly="true" name="store.shopName" class="input-xlarge focused"
											id="store.shopName" type="text"  value="${store.shopName}" />
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="remark">
										备 注
									</label>
									<div class="controls">
										<textarea rows="4" cols="20" readonly="true" name="store.description"
											id="store.description" >${store.description}</textarea>
									</div>
								</div>

							</div>
							<div class="span5">
								<div class="fileupload fileupload-new"
									data-provides="fileupload">
									<div class="fileupload-preview  thumbnail"
										style="width: 220px; height: 170px;">
										<img src="${store.picture}"></img>
									</div>
								</div>
							</div>
						</div>
						<div>
							<input type="button" class="btn" value="返 回"
								onclick="javascript:history.go(-1);" />
						</div>
					</form>
				</div>
				
	</body>
</html>
